package com.jf3q.common.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jf3q.common.domain.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity .domain.Order
 */
public interface OrderMapper extends BaseMapper<Order> {

    Page<Order> getOrderListWithPage(@Param("memberId") String memberId,
                                      @Param("tradeState")String tradeState,
                                      @Param("courseTitle")String courseTitle,
                                      @Param("orderBy")String orderBy,
                                      Page<Order> page);

    Order getOrder(@Param("id")String id);
}




